package com.vogue.supplymall.admin.business.domain.mapper;

import com.vogue.ssm.database.util.SqlLangDriver;
import com.vogue.supplymall.admin.business.domain.model.AdminPlatform;

import java.util.List;

import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * The interface Admin platform mapper.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-04-25
 */
@Mapper
public interface AdminPlatformMapper extends BaseMapper<AdminPlatform, Long> {
	
	@Select("select * from admin_platform where syscodeid=#{syscodeId} and isbind=1")
	@Lang(SqlLangDriver.class)
	public List<AdminPlatform> getAPInfoBySyscodeId(Long syscodeId);
}
